﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RayTracing
{
    public interface Geometry
    {
    float distance(Ray ray);// Returns a distance or infinity
    P3 normal(P3 p); // Return the surface normal at 0 (a position)
    P2 toP2(P3 p);// Assume p is on the surface, returns a point in the centered square 
    }
}
